import request from '@/utils/request'
export const getBannerAPI = (distributionSite="1") => {
  return request({
    url: '/home/banner',
    params: {
      distributionSite
    }
  })
}
// 获取新鲜好物
export const getNewAPI = () => {
  return request.get('/home/new')
}
// 获取人气推荐
export const getHotAPI = () => {
  return request.get('/home/hot')
}
// 获取商品
export const getGoodsAPI = () => {
  return request({
    url: '/home/goods'
  })
}